home *** CD-ROM | disk | FTP | other *** search
/ IRIX Patches 1995 March / SGI IRIX Patches 1995 Mar.iso / 5.2_patches / patchSG0000226 / patchSG0000226.idb / var / sysgen / master.d / bsd.z / bsd
Text File  |  1995-03-10  |  6KB  |  180 lines

  1. *#ident    "$Revision: 4.9 $"
  2. *
  3. * BSD: Berkeley Network Services
  4. *
  5. *FLAG    PREFIX    SOFT    #DEV    DEPENDENCIES
  6. ox    bsd    -    -    socket
  7.                 bsd_init(){}
  8.                 getdtablesize(){nopkg}
  9.                 gethostname(){nopkg}
  10.                 sethostname(){nopkg}
  11.                 getdomainname(){nopkg}
  12.                 setdomainname(){nopkg}
  13. $$$$
  14.  
  15. /* allow hardware computations of checksums */
  16. int ifcksum = 1;
  17.  
  18. /* 1 = enable UDP checksums. This should always be enabled. */
  19. int udpcksum = 1;
  20.  
  21. /*
  22.  * This parameter affects hosts with more than 1 hardware network interface.
  23.  * Hosts that have only a single interface will not forward IP packets.
  24.  *
  25.  * 1 = Forward IP packets received that should be resent to another host.
  26.  * 0 = Don't forward packets. ipgateway affects if an ICMP error is sent or not.
  27.  *
  28.  * This parameter also enables/disables IP source routing.
  29.  *
  30.  * IP multicast packets can be forwared if the boot/ip_mroute.o file exists
  31.  * when the kernel is configured and the mrouted(1M) daemon is used.
  32.  */
  33. int ipforwarding = 1;
  34.  
  35. /* 
  36.  * 1 = When forwarding IP packets, and a packet is forwarded using the same 
  37.  *     interface on which it arrived and if the source host is on the 
  38.  *     directly-attached network, then send an ICMP redirect to the source host.
  39.  *     If the packet was forwarded using a route to a host or to a subnet,
  40.  *     a host redirect is sent, otherwise a network redirect is sent.
  41.  * 0 = The generation of redirects is inhibited.
  42.  */
  43. int ipsendredirects = 1;
  44.  
  45. /*
  46.  * 1 = If we're a gateway but IP forwarding is off or there's currently 
  47.  *     only 1 active interface, then return an ICMP "network unreachable" 
  48.  *     error to the sender of a packet that can't be forwarded. 
  49.  * 0 = Don't send the ICMP error, just drop the packet.
  50.  */
  51. int ipgateway = 0;
  52.  
  53. /*
  54.  * 1 = For gateways (>1 interface and ipforwarding = 1), cause a broadcast 
  55.  *     packet destined for network A that arrived on network B's interface 
  56.  *     to be broadcast on network A.
  57.  * 0 = Don't broadcast the packet to network A, though this host will receive 
  58.  *     the packet.
  59.  */
  60. int ipdirected_broadcast = 0;
  61.  
  62. /* 
  63.  * TCP calculates a maximum segment size to use for each connection, and
  64.  * sends no datagrams larger than that size. This size will be no larger 
  65.  * than that supported on the outgoing interface.  Furthermore, if the 
  66.  * destination is not on the local network, the size will be no larger 
  67.  * than 576 bytes.
  68.  *
  69.  * subnetsarelocal:
  70.  *   1 = other subnets of a directly-connected subnetted network are 
  71.  *       considered to be local.
  72.  *   0 = other subnets are not local.
  73.  *
  74.  * allnetsarelocal:
  75.  *   1 = all networks are considered to be local.
  76.  *   0 = all networks are not local. 
  77.  *    Sites with a private internet of Class C networks should set this to 1.
  78.  *    However, if you are connected to an external network, such as the
  79.  *    Internet, this parameter should be 0.
  80.  */
  81. int subnetsarelocal = 1;
  82. int allnetsarelocal = 0;
  83.  
  84. /*
  85.  * If not zero, limit the maximum ethernet packet size to this
  86.  */
  87. int maxethermtu = 0;
  88.  
  89. /* 
  90.  * Debugging:
  91.  *   1 = print debugging messages on the console.
  92.  *   0 = don't print any messages.
  93.  */
  94. int icmpprintfs = 0;
  95. int ipprintfs   = 0;
  96. int tcpprintfs  = 0;
  97.  
  98. /* Use loopback interface for local traffic */
  99. int useloopback = 1;
  100.  
  101. /* loopback interface MTU */
  102. int lomtu = 112+8*1024;            /* MLEN + integral number of pages */
  103.  
  104. /* TCP window sizes/socket space reservation */
  105. unsigned long tcp_sendspace = 60 * 1024;    /* must be < 256K */
  106. unsigned long tcp_recvspace = 60 * 1024;    /* must be < 256K */
  107.  
  108. /* TCP large windows (RFC 1323) control. */
  109. int tcp_winscale = 1;
  110. int tcp_tsecho = 1;
  111.  
  112. /* TCP MTU Discovery control. This controls the use of RFC 1191
  113.  * methods for determining TCP maximum segment sizes.  If this flag is on,
  114.  * TCP will set the dont-fragment flag in the IP headers of TCP segments.
  115.  * The "fragmentation needed" messages from routers will be used to determine
  116.  * new MSS size for TCP connections.  When this flag is set, the MSS of TCP
  117.  * connections will no longer default to tcp_mssdflt when connections are
  118.  * not local.
  119.  */
  120. int tcp_mtudisc = 0;
  121.  
  122. /* TCP MTU Discovery, table of typical MTUs.  If TCP isn't told the
  123.  * MTU of the far side of the complaining router, it will pick the
  124.  * next smaller value from this table.  It contains typical MTUs
  125.  * you might encounter.  This is from Table 7-1 in RFC 1191.
  126.  *
  127.  * Warning: this list must be in descending order and must be
  128.  * terminated with a zero.
  129.  */
  130. int tcp_mtutable[] = {
  131.     65535,
  132.     65280,    /* HIPPI */
  133.     32768,
  134.     17914,
  135.     8166,    /* 802.4 */
  136.     4352,    /* FDDI */
  137.     2002,
  138.     1492,    /* Ethernet/802.3 */
  139.     1006,    /* Arpanet */
  140.     508,
  141.     0 /* ZERO MUST TERMINATE THIS LIST! */ };
  142.  
  143.  
  144. /* UDP maximum datagram size */
  145. unsigned long udp_sendspace = 60 * 1024;    /* must be < (64K - 28) */
  146.  
  147. /* UDP socket buffers: reserve space for (sendspace * recvgram) bytes */
  148. unsigned long udp_recvgrams = 2;        /* clamped to 64K/sendspace */
  149.  
  150. /* 
  151.  * Default Time-To-Live (TTL) values:  
  152.  *
  153.  * These values should be sufficient for the Internet.
  154.  * Increase them for extremely large internets with large "diameters."
  155.  */
  156. int tcp_ttl = 60;
  157. int udp_ttl = 60;
  158.  
  159. /* 
  160.  * Mbuf parameters:
  161.  *
  162.  * Maximum # of 1-page clusters.  This limits the total memory that
  163.  * network buffers, "mbufs," can consume.
  164.  */
  165. int nm_clusters = 768;
  166.  
  167. /* 
  168.  * Maximum # of free clusters.  The mbuf allocation system tends to
  169.  * keep a pool of free clusters this large.  A big system which
  170.  * experiences bursts of load should use a larger value than a
  171.  * small system or a system with a relatively constant network load.
  172.  */
  173. int mbuf_max_clfree = 8;        /* <= nm_clusters */
  174.  
  175. /* 
  176.  * Maximum # of free "little" mbufs.  It should be only be big enough to
  177.  * satisfy demands in excess of the the average mbuf utilization.
  178.  */
  179. int mbuf_max_mfree = 32*2;
  180.